package configuration; 

import java.io.File;
import observers.Log; 
import observers.LogSystem; 

public class Configuration {
	
	public static final int GUI = 0;
	public static final int CONSOLE = 1;
	public static final int MOCK = 10; 
	public static final int FILE = 2; 
	public static final int WEB  = 3; 
	public static final int FILESPOT = 4; 
	
	public static final String CONSOLE_GETMOVE = "What move would you like to make? I am a crappy game so you have to imagine the board in your head...pick a number 0-8!";
	public static final String CONSOLE_CHECK_EXIT = "Would you like to play another game? (y/n)";
	public static final String CONSOLE_GET_FILE_LOCATION = "Where would you like to log the Player data?";
	public static final String CONSOLE_NEW_HIGH_SCORE = "Enter your name to save your high score!";
	public static final String CONSOLE_SHOWHIGHSCORE = "Would you like to see the High Scores? (y/n)";
	
	public static final String HIGH_SCORE_FILE = "/Users/MickKellogg/Documents/tictactoehighscores/tictactoehighscores.rtf";
	public static final String LOG_OBSERV_FILE = "/Users/MickKellogg/Documents/tictactoehighscores/UserActionLog.rtf";
	
	public static Log logz = new LogSystem(); 
	
	private static Configuration instance = null; 
	
	public static Configuration getInstance(){
		if(instance == null){
			instance = new Configuration(); 
		}
		return instance; 
	}
	
	public File getFileConfiguration(){ 
		File file = new File("/Users/MickKellogg/Documents/tictactoehighscores/UserActionLog.rtf");
		return file;
	}
	
	public int getInputOutputType(){
		return GUI; 
	}
	
	public int getHighScoreDatabaseType(){
		return FILE; 
	}
	
}
